home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / kn / elate / sock / waitselect.c < prev    next >
C/C++ Source or Header  |  2001-03-20  |  271b  |  10 lines

  1.  
  2. #include "tek/kn/elate/sock.h"
  3.  
  4. int kn_waitselect(kn_sockenv_t *sockenv, int n, fd_set *r, fd_set *w, fd_set *e, struct timeval *t, TKNOB *evt, TBOOL *signal)
  5.     int numready = select(n, r, w, e, t);
  6.     *signal = kn_timedwaitevent(evt, TNULL, TNULL);
  7.     return numready;
  8. }
  9.